package com.codeavatar.hardwaretester.data;

import com.codeavatar.hardwaretester.model.MenuModel;

import org.json.JSONObject;

import java.util.ArrayList;
import java.util.List;

/**
 * +----------------------------------------------------------------------
 * | @Author: codeavatar   @Year：2022
 * +----------------------------------------------------------------------
 * | @Email: codeavatar@aliyun.com
 * +----------------------------------------------------------------------
 **/
public class MenuData implements IData<MenuModel> {

    private static MenuData init = null;

    public static MenuData Init(){
        if(init == null){
            init = new MenuData();
        }
        return init;
    }

    public List<MenuModel> getBluetoothMenuList() {
        List<MenuModel> tmpList =new ArrayList<>();
        tmpList.add(new MenuModel("车载蓝牙","car_ble"));
        tmpList.add(new MenuModel("智能箱柜","ai_box"));
        return tmpList;
    }

    @Override
    public List<MenuModel> getList() {
        List<MenuModel> tmpList =new ArrayList<>();
        tmpList.add(new MenuModel("蓝牙","bluetooth"));
        tmpList.add(new MenuModel("WIFI","wifi"));
        tmpList.add(new MenuModel("NFC","nfc"));
        return tmpList;
    }

    @Override
    public JSONObject getJsonObject() {
        return null;
    }

    @Override
    public String getString() {
        return null;
    }
}
